import java.util.Scanner;

public class Main{
    public static void main(String[] args) {

        int normal_attack=2;
        int critical_attack=10;
        int n_a=0;//  NUMBER OF ATTACKS
        int n_ca=0;//   NUMBER OF CRITICAL ATTACKS

        Scanner scanner = new Scanner(System.in);
        System.out.println("输入僵王的血量(整数且大于0)");
        int zombie_health = scanner.nextInt();

        while(zombie_health > 0){
            zombie_health-=normal_attack;
            n_a+=1;
            if(n_a % 3 == 0){
                n_ca+=1;
                zombie_health-=critical_attack;

            }
        }

        System.out.println("僵王已死，攻击次数为 "+(n_a)+" 次,暴击 "+(n_ca)+" 次");

    }
}
